home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / lang / c / cxref-1.001 / cxref-1~ / cxref / cpp / config / i386 / linux.h next >
Encoding:
Text File  |  1995-04-22  |  1.4 KB  |  49 lines

  1. /* Definitions for Intel 386 running Linux
  2.  * Copyright (C) 1992 Free Software Foundation, Inc.
  3.  *
  4.  * Written by H.J. Lu (hlu@eecs.wsu.edu)
  5.  *
  6.  * Linux is a POSIX.1 compatible UNIX clone for i386, which uses GNU
  7.  * stuffs as the native stuffs.
  8.  */
  9.  
  10. /* Specify predefined symbols in preprocessor.  */
  11.  
  12. #undef CPP_PREDEFINES
  13. #define CPP_PREDEFINES "-D__unix -D__unix__ -D__i386 -D__i386__ -D__linux -D__linux__ " \
  14.                        "-D__GNUC__=2 -D__GNUC_MINOR__=6 "\
  15.                        "-Dunix -Di386 -Dlinux -Asystem(unix) -Asystem(posix) -Acpu(i386) -Amachine(i386)"
  16.  
  17. #undef SIZE_TYPE
  18. #define SIZE_TYPE "unsigned int"
  19.  
  20. #undef PTRDIFF_TYPE
  21. #define PTRDIFF_TYPE "int"
  22.  
  23. #undef WCHAR_TYPE
  24. #define WCHAR_TYPE "long int"
  25.  
  26. #undef WCHAR_TYPE_SIZE
  27. #define WCHAR_TYPE_SIZE BITS_PER_WORD
  28.  
  29. /* number of bits in an addressable storage unit */
  30. #define BITS_PER_UNIT 8
  31.  
  32. /* Width in bits of a "word", which is the contents of a machine register.
  33.    Note that this is not necessarily the width of data type `int';
  34.    if using 16-bit ints on a 80386, this would still be 32.
  35.    But on a machine with 16-bit registers, this would be 16.  */
  36. #define BITS_PER_WORD 32
  37.  
  38. /* Width of a word, in units (bytes).  */
  39. #define UNITS_PER_WORD 4
  40.  
  41. /* Define results of standard character escape sequences.  */
  42. #define TARGET_BELL 007
  43. #define TARGET_BS 010
  44. #define TARGET_TAB 011
  45. #define TARGET_NEWLINE 012
  46. #define TARGET_VT 013
  47. #define TARGET_FF 014
  48. #define TARGET_CR 015
  49.